package com.example.demo.Pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Task {
    @TableId(type = IdType.ASSIGN_ID)
    private String taskId;

    private String taskTitle;

    private String taskDescription;

    private Integer taskStatus;

    private Date taskGmtStart;

    private Date taskGmtOver;

    @TableField(fill = FieldFill.INSERT)
    private Date taskGmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date taskGmtUpdate;

    @Version
    private Integer taskVersion;

    @TableLogic
    private Integer taskDeleted;

    private String userId;
}
